package com.note.simpleshop.module.coupon.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/***
 *@ClaseName:CouponVo
 *
 *@Decription:
 *
 *@Author: xubingbing
 *
 *@Date:2019/3/9 0009 21:53
 */
@ApiModel(value="优惠劵")
public class CouponVo implements Serializable {
    @ApiModelProperty(value = "编号")
    private String id;
    @ApiModelProperty(value = "优惠券id")
    private String couponId;
    @ApiModelProperty(value = "领取时间")
    private Date giveTime;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "优惠劵名称")
    private String couponName;
    @ApiModelProperty(value = "优惠形式(1折扣卷，2金额卷)")
    private String preferentialWay;
    @ApiModelProperty(value = "折扣")
    private double discount;
    @ApiModelProperty(value = "额度")
    private BigDecimal quota;
    @ApiModelProperty(value = "是否可叠加")
    private Integer overlying;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "限制金额")
    private BigDecimal restrictionMoney;
    @ApiModelProperty(value = "生效时间")
    private Date eifTime;
    @ApiModelProperty(value = "过期时间")
    private Date expireTime;
    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getGiveTime() {
        return giveTime;
    }

    public void setGiveTime(Date giveTime) {
        this.giveTime = giveTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getPreferentialWay() {
        return preferentialWay;
    }

    public void setPreferentialWay(String preferentialWay) {
        this.preferentialWay = preferentialWay;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public BigDecimal getQuota() {
        return quota;
    }

    public void setQuota(BigDecimal quota) {
        this.quota = quota;
    }

    public Integer getOverlying() {
        return overlying;
    }

    public void setOverlying(Integer overlying) {
        this.overlying = overlying;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getRestrictionMoney() {
        return restrictionMoney;
    }

    public void setRestrictionMoney(BigDecimal restrictionMoney) {
        this.restrictionMoney = restrictionMoney;
    }

    public Date getEifTime() {
        return eifTime;
    }

    public void setEifTime(Date eifTime) {
        this.eifTime = eifTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
}
